<script>
	export default {
		onLaunch: function() {
			// 登录判断
			const merchantId = uni.getStorageSync('merchantId')
			if (merchantId) {
				uni.reLaunch({
					url:"./pages/index/index"
				})
			}
		},
		onShow: function() {
			//console.log('App Show')
		},
		onHide: function() {
			//console.log('App Hide')
		},
	}
</script>

<style lang="scss">
	@import '@/uni_modules/uview-ui/theme.scss';
</style>